home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / which5.zoo / readme.st < prev    next >
Text File  |  1992-07-06  |  967b  |  26 lines

  1.  
  2. this was ported to ST from a code posted to comp.sources.misc some time ago.
  3. it is meant as a replacement for the tcsh which command. it will find both
  4. aliased and executables (but not shell builtins). it also has a "-a" option
  5. which will find all instances of the given command (not just the first) that
  6. are in the PATH.
  7.  
  8. I use it as an alias by putting this in tcsh.rc (assuming escchar is `^'):
  9.  
  10.     alias wh 'alias ^!$ | g:\gnu\bin\which -i ^!*'
  11.  
  12. where g:\gnu\bin\which is this which.ttp. then use wh like which. also
  13. supports -a. try "wh -a which". is slower than tcsh which since there is
  14. no hashing (searches path directly). still, i prefer it if only for -a.
  15.  
  16. included is the source (with #ifdef __GNUC__ and atarist where it was
  17. changed from orig), nroff manpage and nroff'ed manpage for use with manpager.
  18. check makefile before building. the .ttp was built with gcc 1.40 with MiNT
  19. libs at PL 19.
  20.  
  21. enjoy...
  22.  
  23. -bill
  24. rosenkra@convex.com
  25.  
  26.